﻿using System;

namespace LambdaExe
{
    class Program
    {
        static void Main(string[] args)
        {
            SimpleDemos();
            NumberExe();
        }

        private static void NumberExe()
        {
            Console.WriteLine(nameof(NumberExe));
            Func<double, double, double> numBer = (num, ber) => num * ber;
            Console.WriteLine(numBer(5, 2));

        }

        private static void SimpleDemos()
        {
            //throw new NotImplementedException();
            Console.WriteLine(nameof(SimpleDemos));
            Func<string, string> oneParem = s => $"{s.ToUpper()}";
            Console.WriteLine(oneParem("sangelao feng yu cheng yan \n"));
        }

    }
}
